The following procedures is added to the Simula environment
and may be called directly from Simula:
- PROCEDURE Gbc;...;
The garbage collector is called when the dynamic
storage exceeds an implementation dependent limit.
The garbage collector traverse and moves all the accessible objects,
and leaves the free space as one area initialized to zero.
The garbage collector may be called explicitly
through the procedure Gbc.
- INTEGER PROCEDURE Argc;...;
Returns the number of command-line arguments
that the program was invoked with.
- INTEGER PROCEDURE Argv;...;
Returns a pointer to an array of character strings
(in C fashion) that contains the arguments.
- PROCEDURE Dump(t);TEXT t;...;
Dump the state of the Simula-program to file.
Before a call on Dump all files except SYSIN,
SYSOUT and SYSERR should be closed.
- PROCEDURE UnDump(t);TEXT t;...;
Read a previously stored state from file
and start the program in that state.
To get these procedures to work,
they should be compiled into the same program.
The program may not be re-compiled
between a call on Dump and UnDump.
- |tt REF(PrintFile) PROCEDURE SysErr;...;
Returns the file object associated with standard error.